<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <title>语言信息 Language Form</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" th:href="@{/statics/layui/css/layui.css}" media="all">
  <link rel="stylesheet" th:href="@{/statics/style/admin.css}" media="all">
</head>
<body>

  <div class="layui-form" lay-filter="layuiadmin-form-lang" id="layuiadmin-form-lang" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
      <label class="layui-form-label">名称</label>
      <div class="layui-input-block">
        <input type="text" name="name" lay-verify="name" autocomplete="off" placeholder="请输入名称" class="layui-input" th:value="${lang.name}">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">代码</label>
      <div class="layui-input-block">
        <input type="text" name="code" lay-verify="required" autocomplete="off" placeholder="请输入代码" class="layui-input" th:value="${lang.code}">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">具体描述</label>
      <div class="layui-input-block">
        <textarea type="text" name="memo" autocomplete="off" class="layui-textarea">[[${lang.memo}]]</textarea>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">语言配置</label>
      <div class="layui-input-block">
        <textarea type="text" name="config" autocomplete="off" class="layui-textarea">[[${lang.config}]]</textarea>
      </div>
    </div>
    <div class="layui-form-item layui-hide">
      <input type="hidden" name="id" th:value="${lang.id}" autocomplete="off" class="layui-input">
      <button class="layui-btn" lay-submit lay-filter="LAY-lang-add-submit" id="LAY-lang-add-submit">提交</button>
    </div>
  </div>

  <script th:src="@{/statics/layui/layui.js}"></script>
  <script>
  layui.config({
    base: '/statics/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
    var $ = layui.$
    ,form = layui.form ;
  })
  </script>
</body>
</html>